﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Easycmd
{
    public partial class CopyConfirmForm : Form
    {
        public CopyConfirm confirm = CopyConfirm.NoToAll;
        public CopyConfirmForm(string tip)
        {
            InitializeComponent();
            label1.Text = tip;
            StartPosition = FormStartPosition.CenterScreen;            
        }

   

        private void btnYes_Click(object sender, EventArgs e)
        {
            confirm = CopyConfirm.Yes;
            Close();
        }

        private void btnNo_Click(object sender, EventArgs e)
        {
            confirm = CopyConfirm.No;
            Close();
        }

        private void btnYesToAll_Click(object sender, EventArgs e)
        {
            confirm = CopyConfirm.YesToAll;
            Close();
        }

        private void btnNotToAll_Click(object sender, EventArgs e)
        {
            confirm = CopyConfirm.NoToAll;
            Close();
        }

        private void CopyConfirmForm_Load(object sender, EventArgs e)
        {
         
        }
    }
}
